package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统-学生段位信息（system模块扩展）对象 sys_student_rank
 *
 * @author 杨佳霖
 * @date 2025-08-29
 */
public class AsysStudentRank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private Long userId;

    /** 总段位：倔强青铜/秩序白银/荣耀黄金/尊贵铂金/永恒钻石/至尊星耀/最强王者 */
    @Excel(name = "总段位：倔强青铜/秩序白银/荣耀黄金/尊贵铂金/永恒钻石/至尊星耀/最强王者")
    private String rankLevel;

    /** 小段位：I/II/III/IV/V */
    @Excel(name = "小段位：I/II/III/IV/V")
    private String rankSubLevel;

    /** 当前经验值 */
    @Excel(name = "当前经验值")
    private Long currentExp;

    /** 升段所需经验值 */
    @Excel(name = "升段所需经验值")
    private Long needExp;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setRankLevel(String rankLevel)
    {
        this.rankLevel = rankLevel;
    }

    public String getRankLevel()
    {
        return rankLevel;
    }

    public void setRankSubLevel(String rankSubLevel)
    {
        this.rankSubLevel = rankSubLevel;
    }

    public String getRankSubLevel()
    {
        return rankSubLevel;
    }

    public void setCurrentExp(Long currentExp)
    {
        this.currentExp = currentExp;
    }

    public Long getCurrentExp()
    {
        return currentExp;
    }

    public void setNeedExp(Long needExp)
    {
        this.needExp = needExp;
    }

    public Long getNeedExp()
    {
        return needExp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("rankLevel", getRankLevel())
                .append("rankSubLevel", getRankSubLevel())
                .append("currentExp", getCurrentExp())
                .append("needExp", getNeedExp())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
